<?php //PROCESA EL LOGIN
require_once'includes/funciones.php';
session_start();
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />

<title><?php titulo();?></title>
<link rel="STYLESHEET" type="text/css" href="includes/estilo_login.css"> 

<body>

<div id="contenedor">	

	
		<div id="cuadrodialogo">
		<a href="login.php"><img style="border:0;" src="images/logo1.png" alt="Logo" /></a>
        
		  <form action="prologin.php" method="post">

		  <br>Nombre:
		  <br>
		  <input type="text" name="user" maxlength="30">
		  <br>
		  <br>
		  Contrase&ntilde;a:
		  <br>
  
		  <input type="password" name="pass" maxlength="50">
		  <br>
		  <!--<input type="image" src="images/button-default1.png"  alt="Entrar" title=" Entrar ">-->
		  <?php 
		  if(isset($_GET['captcha']) && $_GET['captcha']=="true"){
		  		echo '<br><img src="includes/captcha/imagen.php?'.session_name().'='.session_id().'"><br>';
		  		if($_GET["status"]=="error"){echo "error captcha";}
    			echo '<input type="text" name="keystring">';
		  	
		  	}
		  
		  ?>
		  <br>
		  <input type="submit" value="Ingresar"  alt="Entrar" title=" Entrar ">
		  <br>
		  <br>
		  <!-- <a HREF="altausuario.php"><img style="border:0;" src="images/button-register.png" ></a>-->
		  
		  <a HREF="altausuario.php"><input type="button" value="Registrarse"></a>
		  
		  <?php 
		  if(isset($_GET['catcha']) && $_GET['captcha']=='true'){
		  		
		  	
		  }
		  
		  
		  ?>
		  
		  </form> 		
		  <br>
		  
		  
		  
		</div>
		
	      
	<!--fin areatexto-->	
	
 
	
	
	
	<div id="pie">
	<!--fin pie-->
</div>
<!--fin contenedor-->

</div>
</body>
</html>

